package org.ecc.android.validations.library.validator;

import android.content.Context;
import android.text.TextUtils;

import org.ecc.android.validations.library.ValidationExecutor;

/**
 * Created with org.ecc.android.validations.library.validator
 * User:YangXiuFeng
 * Date:2016/1/14
 * Time:20:20
 */
public class EmptyValidation extends ValidationExecutor{
    @Override
    public boolean doValidate(Context context, String text) {
        if(!TextUtils.isEmpty(text)){
            return true;
        }
        return false;
    }
}
